package controllers

import (
	"alarmservice/tracingservice"
	"strconv"
)

type StatesController struct {
	baseController
}

func (c *StatesController) PageTimerTracing() {
	states := tracingservice.TTSchedule.GetStates()
	ret := "lasttriggertimes_num:" + strconv.Itoa(states["lasttriggertimes_num"].(int)) + "<br />timetracingidsmap_num:" + strconv.Itoa(states["timetracingidsmap_num"].(int))
	c.Ctx.WriteString(ret)
}